package edu.sctu.practice.class02.mengyao.assign02;

/**
 * Created by Administrator on 2015/10/8.
 */
public class Circle {
   private double radius;
    static  int  numOfObjects=0;

    public Circle( double radius){

        this.radius=radius;
        numOfObjects++;

    }


   public void seekArea(){

     double area= Constant.PI*radius*radius;
       System.out.println(radius);
       System.out.println(area);

   }
    public void getNumber(){

        System.out.println(numOfObjects);

    }
}
